/* 主页内容 */
.main-content {
  top: 0;
  left: 0;
  margin: 0;
  overflow: hidden;
  position: fixed;
  background: radial-gradient(circle, rgb(1, 31, 61) 10%, rgb(17, 41, 92) 50%,rgb(27, 3, 71) 100%);
  width: 100vw; height: 100vh;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1s ease;
  z-index: 20;
  box-sizing: border-box;
}
.star {
    will-change: transform, opacity; /* 预优化 */
    transform: translateZ(0); /* 强制开启GPU加速 */
    animation: twinkle linear infinite;
    animation-duration: var(--duration);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}


/*菜单栏部分*/
        /* 菜单容器 */
        .nav-wrapper {
          position: fixed;
          width: 100vw;
          height: 5vh;
          box-sizing: border-box;
          background: rgba(255, 255, 255, 0);
          backdrop-filter: blur(10px);
          z-index: 1000;
      }



      /* 导航菜单 */
      .navbar {
          max-width: 100vw;
          width: 100vw;
          height: 5vh;
          margin: 0 auto;
          padding: 1rem;
          display: flex;
          max-width: 1200px;
          justify-content: center;
          align-items: center;
      }

      /* 品牌LOGO */
      .brand {
          font-size: 1.3rem;
          font-weight: 7vw;
          background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
          -webkit-background-clip: text;
          background-clip: text;
          color: transparent;
          padding-right: 2rem;
          float: left;
      }

      /* 导航链接容器 */
      .nav-links {
          display: flex;
          padding:0.1rem 10rem;
      }

      /* 导航链接 */
      .nav-link {
          position: relative;
          color: #fcfcfc;
          text-decoration: none;
          padding: 0.5rem 1rem;
          overflow: hidden;
          transition: color 0.3s ease;
      }

      /* 文字动画效果 */
      .nav-link span {
          font-size: 1.2rem;
          display: inline-block;
          position: relative;
          transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
      }

      .nav-link:hover span {
          transform: translateY(-5px);
      }

      /* 下划线动画 */
      .nav-link::after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 0;
          width: 0;
          height: 2px;
          background: #4ecdc4;
          transition: width 0.3s ease;
      }

      .nav-link:hover::after {
          width: 100%;
      }

 /* 宽屏适配 */
@media (min-width: 1200px) {
  .nav-links {
    padding:0.1rem 10rem;
  }
  .nav-link {
    padding: 0.5rem 1rem;
  }
  .nav-link span {
      font-size: 1.9rem;
  }
}
      /* 响应式设计 */
   /*   @media (max-width: 768px) {
          .nav-links {
              display: none;
          }
          
          .navbar {
              padding: 1rem;
          }
      }*/